//
//  WeiBoCommon.swift
//  新浪微博swift
//
//  Created by WJ-Jason on 2017/5/4.
//  Copyright © 2017年 WJ-Jason. All rights reserved.
//

import Foundation

// MARK: - 全局通知定义
let screenWidth = UIScreen.main.bounds.width

let screenHeight = UIScreen.main.bounds.height

/// 应用程序 ID
let WBAppKey = "3672819472"
/// 应用程序加密信息(开发者可以申请修改)
let WBAppSecret = "671ff45049a55d5e71eafabd790f6b91"
/// 回调地址 - 登录完成调转的 URL，参数以 get 形式拼接
let WBRedirectURI = "http://baidu.com"


// 用户需要登录通知
let WJUserShouldLoginNotification = "WJUserShouldLoginNotification"
/// 用户登录成功通知
let WJUserLoginSuccessedNotification = "WJUserLoginSuccessedNotification"

// MARK: - 微博配图视图常量
// 配图视图外侧的间距
let WBStatusPictureViewOutterMargin = CGFloat(12)
// 配图视图内部图像视图的间距
let WBStatusPictureViewInnerMargin = CGFloat(3)
// 视图的宽度的宽度
let WBStatusPictureViewWidth = UIScreen.cz_screenWidth() - 2 * WBStatusPictureViewOutterMargin
// 每个 Item 默认的宽度
let WBStatusPictureItemWidth = (WBStatusPictureViewWidth - 2 * WBStatusPictureViewInnerMargin) / 3


